#ifndef _DICOM_UPLOAD_CLOUD_LOGIN_H_
#define _DICOM_UPLOAD_CLOUD_LOGIN_H_

#include <surbasic/surbasic.h>
#include <gwbase/base/util.h>

namespace dicom {
using namespace SDBasic;

typedef Status (*LoginCloudFunc)(const std::string& server,
                                 const std::string& user,
                                 const std::string& password,
                                 AccessToken* token, int64_t* token_key,
                                 std::string* root_dir_id);

/*
Status LoginToEnterpriseCloud(const std::string& server,
                              const std::string& user,
                              const std::string& password,
                              AccessToken* token,
                              int64_t* token_key,
                              std::string* root_dir_id);


Status LoginToPersonalCloud(const std::string& server,
                            const std::string& user,
                            const std::string& password,
                            AccessToken* token,
                            int64_t* token_key,
                            std::string* root_dir_id);
*/

extern LoginCloudFunc LoginToCloud;
}

#endif  //  _DICOM_UPLOAD_CLOUD_LOGIN_H_
